import request from "@/utils/request";

export function orderList_index(params) {
  return request({
    url: "/orderList/index",
    method: "get",
    params
  });
}

/* 订单汇总导出 */
export function orderSummary_export_detail(params) {
  return request({
    url: "/export/export_all_info",
    method: "post",
    responseType: "blob",
    params
  });
}

export function orderSummary_export_all(params) {
  return request({
    url: "/export/export_all",
    method: "post",
    responseType: "blob",
    params
  });
}


export function orderSummary_table(params) {
  return request({
    url: "/export/export_goods_member",
    method: "post",
    responseType: "blob",
    params
  });
}

// 订单汇总列表（新）
export function orderListStatic_goods(params) {
  return request({
    url: "/orderList/static_goods",
    method: "get",
    params,
  });
}

// 订单汇总搜索条件
export function orderListSearch_condition(params) {
  return request({
    url: "/orderList/search_condition",
    method: "get",
    params,
  });
}

// 订单汇总-订单数据
export function orderListStatic_orders(params) {
  return request({
    url: "/orderList/static_orders",
    method: "get",
    params,
  });
}